package Chapter02;
import java.util.Scanner;
public class zuoye3 {
    //3.已知一磅等于0.4535924千克，输入千克数，转换成磅数，并输出
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        double pound=0.4535924,sum=0;
        System.out.println("请输入千克数:");
        double kilogram =input.nextDouble();
        sum=pound*kilogram;
        System.out.println("你输入的是"+kilogram+",转化成"+sum+"磅数。");
    }
}
